<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Voya Media: MediaTypeValidation Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Voya Media
   &#160;<span id="projectnumber">1.2.255.1212</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('a00009.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">MediaTypeValidation Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aef754b1f9f1c899007323352a5a01914"><td class="memItemLeft" align="right" valign="top">static List&lt; string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00009.html#aef754b1f9f1c899007323352a5a01914">GetValidVideoDirectoriesFromFileList</a> (List&lt; string &gt; fileList)</td></tr>
<tr class="memdesc:aef754b1f9f1c899007323352a5a01914"><td class="mdescLeft">&#160;</td><td class="mdescRight">Takes a string List of filenames, and returns a new string List containing only the valid video directories.  <a href="#aef754b1f9f1c899007323352a5a01914"></a><br/></td></tr>
<tr class="memitem:ac9025c0badc6e771284be506efb01817"><td class="memItemLeft" align="right" valign="top">static List&lt; string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00009.html#ac9025c0badc6e771284be506efb01817">GetValidVideosFromFileList</a> (List&lt; string &gt; fileList)</td></tr>
<tr class="memdesc:ac9025c0badc6e771284be506efb01817"><td class="mdescLeft">&#160;</td><td class="mdescRight">Takes a string List of filenames, and returns a new string List containing only the valid video filenames.  <a href="#ac9025c0badc6e771284be506efb01817"></a><br/></td></tr>
<tr class="memitem:a6e4e214a3efa98101f2cb27aad01c52f"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00009.html#a6e4e214a3efa98101f2cb27aad01c52f">IsAudio</a> (string fileNameAndPath)</td></tr>
<tr class="memdesc:a6e4e214a3efa98101f2cb27aad01c52f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells you if the file is a valid audio file type.  <a href="#a6e4e214a3efa98101f2cb27aad01c52f"></a><br/></td></tr>
<tr class="memitem:a2398bc5d1da95ef4fc16f66768def12b"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00009.html#a2398bc5d1da95ef4fc16f66768def12b">IsPicture</a> (string fileNameAndPath)</td></tr>
<tr class="memdesc:a2398bc5d1da95ef4fc16f66768def12b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells you if the file is a valid picture file type.  <a href="#a2398bc5d1da95ef4fc16f66768def12b"></a><br/></td></tr>
<tr class="memitem:af71f6fbbef579591e1723c809f0e9087"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00009.html#af71f6fbbef579591e1723c809f0e9087">IsVideo</a> (string fileNameAndPath)</td></tr>
<tr class="memdesc:af71f6fbbef579591e1723c809f0e9087"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells you if the file is a valid video file type.  <a href="#af71f6fbbef579591e1723c809f0e9087"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="a00020_source.html#l00014">14</a> of file <a class="el" href="a00020_source.html">MediaManagement.cs</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aef754b1f9f1c899007323352a5a01914"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt;string&gt; <a class="el" href="a00009.html#aef754b1f9f1c899007323352a5a01914">GetValidVideoDirectoriesFromFileList</a> </td>
          <td>(</td>
          <td class="paramtype">List&lt; string &gt;&#160;</td>
          <td class="paramname"><em>fileList</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Takes a string List of filenames, and returns a new string List containing only the valid video directories. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fileList</td><td>A string List of filenames to validate.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>A string List of valid video directories.</dd></dl>

<p>Definition at line <a class="el" href="a00020_source.html#l00022">22</a> of file <a class="el" href="a00020_source.html">MediaManagement.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ac9025c0badc6e771284be506efb01817"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static List&lt;string&gt; <a class="el" href="a00009.html#ac9025c0badc6e771284be506efb01817">GetValidVideosFromFileList</a> </td>
          <td>(</td>
          <td class="paramtype">List&lt; string &gt;&#160;</td>
          <td class="paramname"><em>fileList</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Takes a string List of filenames, and returns a new string List containing only the valid video filenames. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fileList</td><td>A string List of filenames to validate.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>A string List of valid video files.</dd></dl>

<p>Definition at line <a class="el" href="a00020_source.html#l00052">52</a> of file <a class="el" href="a00020_source.html">MediaManagement.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a6e4e214a3efa98101f2cb27aad01c52f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool <a class="el" href="a00009.html#a6e4e214a3efa98101f2cb27aad01c52f">IsAudio</a> </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileNameAndPath</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells you if the file is a valid audio file type. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fileNameAndPath</td><td>The path and filename of the file to validate.</td></tr>
  </table>
  </dd>
</dl>
<p>IsAudio("c:\path\file.mp3") returns True, IsAudio("c:\path\file.jpg") returns False.</p>
<dl class="section return"><dt>Returns:</dt><dd>A Boolean: True or False.</dd></dl>

<p>Definition at line <a class="el" href="a00020_source.html#l00076">76</a> of file <a class="el" href="a00020_source.html">MediaManagement.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a2398bc5d1da95ef4fc16f66768def12b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool <a class="el" href="a00009.html#a2398bc5d1da95ef4fc16f66768def12b">IsPicture</a> </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileNameAndPath</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells you if the file is a valid picture file type. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fileNameAndPath</td><td>The path and filename of the file to validate.</td></tr>
  </table>
  </dd>
</dl>
<p>IsPicture("c:\path\file.jpg") returns True, IsPicture("c:\path\file.mp3") returns False.</p>
<dl class="section return"><dt>Returns:</dt><dd>A Boolean: True or False.</dd></dl>

<p>Definition at line <a class="el" href="a00020_source.html#l00108">108</a> of file <a class="el" href="a00020_source.html">MediaManagement.cs</a>.</p>

</div>
</div>
<a class="anchor" id="af71f6fbbef579591e1723c809f0e9087"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool <a class="el" href="a00009.html#af71f6fbbef579591e1723c809f0e9087">IsVideo</a> </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileNameAndPath</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells you if the file is a valid video file type. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fileNameAndPath</td><td>The path and filename of the file to validate.</td></tr>
  </table>
  </dd>
</dl>
<p>IsVideo("c:\path\file.mpg") returns True, IsVideo("c:\path\file.jpg") returns False.</p>
<dl class="section return"><dt>Returns:</dt><dd>A Boolean: True or False.</dd></dl>

<p>Definition at line <a class="el" href="a00020_source.html#l00140">140</a> of file <a class="el" href="a00020_source.html">MediaManagement.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00020_source.html">MediaManagement.cs</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="a00028.html">MediaManagement</a>      </li>
      <li class="navelem"><a class="el" href="a00009.html">MediaTypeValidation</a>      </li>

    <li class="footer">Generated on Thu Jan 10 2013 07:05:21 for Voya Media by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
   </ul>
 </div>


</body>
</html>
